SET NET2.0PATH="%windir%\microsoft.net\framework\v2.0.50727"
SET IDEPATH="%VS80COMNTOOLS%..\IDE"
SET DLLPATH="%VS80COMNTOOLS%..\IDE\Eclipse.VsCocoR.dll"
%NET2.0PATH%\msbuild VsCocoR\VsCocoR.csproj /p:Configuration=Release;OutputPath=..\bin
RD VsCocoR\obj /Q/S
COPY bin\Eclipse.VsCocoR.* %IDEPATH%
%NET2.0PATH%\regasm /tlb /codebase /codebase %DLLPATH%
@ECHO OFF
ECHO Windows Registry Editor Version 5.00 >> vs.reg
ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}\Coco]  >> vs.reg
ECHO "CLSID"="{7E8510AC-C179-4cc3-937F-6F5809DF9899}" >> vs.reg
ECHO "GeneratesDesignTimeSource"=dword:00000001 >> vs.reg
ECHO @="Coco generator for Visual Studio 2005" >> vs.reg
@regedit /S /Q vs.reg
@del /Q vs.reg
@ECHO



